package com.pig4cloud.pig.demo.feign.Entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.List;

@Data
public class CommentAndLikeVO {
    //当前文章id
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long currentArticleId;

    //评论的用户名
    private String CommentUsername;

    //文章价格
    private Float price;

    //文章作者
    private String author;

    private String title;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long collectionId;
    //是否收藏
    private boolean isCollect;
    //收藏数
    private Integer collectionNums;

    //private List<CommentVO> commentVOS;

    //评论用户名的头像地址
    private String url;

    //评论内容
    private String comment;

    //评论数
    private Integer commentNums;

    //评论点赞数
    private Integer likeNums;

    //当前用户id
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long currentUserId;

    //当前用户是否点赞 0表示没有，1有
    private Integer isLiked;

    //点赞id
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long conlikeId;
}
